package com.zstu.mall.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import com.zstu.mall.common.BaseServiceImpl;
import com.zstu.mall.service.ProductActivityService;
import com.zstu.mall.entity.ProductActivity;
import com.zstu.mall.dao.ProductActivityDao;

/**
 * @author     : wuyc
 * @description: ProductActivityServiceImpl
 * @date       : Created in 2019/11/24
 */
@Service
public class ProductActivityServiceImpl extends BaseServiceImpl<ProductActivity, String, ProductActivityDao> implements ProductActivityService {

	@Autowired
	private ProductActivityDao productActivityDao;

	/**
	 * 根据活动查找商品
	 * @param columnId
	 * @return
	 */
	@Override
	public ProductActivity findByColumnId(String columnId){ return productActivityDao.findByColumnId(columnId);};

}
